//
//  YWSelectDepartmentTableViewController.h
//  maintain
//
//  Created by Kyo on 16/9/5.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol YWSelectDepartmentTableViewControllerDelegate <NSObject>
- (void)popSelectedDepartments:(NSArray*)departmentArray;
@end

@interface YWSelectDepartmentTableViewController : UITableViewController
@property (nonatomic, weak) id<YWSelectDepartmentTableViewControllerDelegate> delegate;
//所有的部门
@property (nonatomic, strong) NSArray *departmentArray;
//已经选择的部门
@property (nonatomic, copy) NSArray *ownDepartments;
@end
